package com.tacc.tyun.model;

import javax.persistence.Id;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 基础部分-菜单
 * */
public class BaseMenu  implements Serializable {
	@Id
	private String menuid;

	private String menusign;

	private String menuname;

	private String menugrade;

	private String menuurl;

	private Integer menunum;

	private String menucode;

	private String parentmenuid;

	private Date createtime;

	private String removetag;

	@Transient
	private List<BaseMenu> childList;

	@Transient
	private boolean check;

	public String getMenuid() {
		return menuid;
	}

	public void setMenuid(String menuid) {
		this.menuid = menuid == null ? null : menuid.trim();
	}

	public String getMenuname() {
		return menuname;
	}

	public void setMenuname(String menuname) {
		this.menuname = menuname == null ? null : menuname.trim();
	}

	public String getMenugrade() {
		return menugrade;
	}

	public void setMenugrade(String menugrade) {
		this.menugrade = menugrade == null ? null : menugrade.trim();
	}

	public String getMenuurl() {
		return menuurl;
	}

	public void setMenuurl(String menuurl) {
		this.menuurl = menuurl == null ? null : menuurl.trim();
	}

	public Integer getMenunum() {
		return menunum;
	}

	public void setMenunum(Integer menunum) {
		this.menunum = menunum;
	}

	public String getParentmenuid() {
		return parentmenuid;
	}

	public void setParentmenuid(String parentmenuid) {
		this.parentmenuid = parentmenuid == null ? null : parentmenuid.trim();
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public String getRemovetag() {
		return removetag;
	}

	public void setRemovetag(String removetag) {
		this.removetag = removetag == null ? null : removetag.trim();
	}

	public List<BaseMenu> getChildList() {
		return childList;
	}

	public void setChildList(List<BaseMenu> childList) {
		this.childList = childList;
	}

	public boolean isCheck() {
		return check;
	}

	public void setCheck(boolean check) {
		this.check = check;
	}

	public String getMenusign() {
		return menusign;
	}

	public void setMenusign(String menusign) {
		this.menusign = menusign;
	}

	public String getMenucode() {
		return menucode;
	}

	public void setMenucode(String menucode) {
		this.menucode = menucode;
	}
}